package com.woody.aggregate.sdk.contract;

import com.woody.aggregate.contract.dto.ShopPerCustomerDTO;
import com.woody.aggregate.contract.vo.ContractVO;
import com.woody.aggregate.contract.vo.ShopPerCustomerVO;
import com.woody.base.model.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * @author luke.feng
 * @Description
 * @create 2025/4/1 17:23
 */
@FeignClient(name="wd-aggregate", contextId = "ShopPerCustomerFeign")
public interface ShopPerCustomerFeign {


    @PostMapping("/shop/per/saveOrUpdate")
    Response saveOrUpdate(@RequestBody ShopPerCustomerDTO dto);


    @GetMapping("/shop/per/get")
    Response<ShopPerCustomerVO> get(@RequestParam("shopId") Long shopId);

}
